Skip to main content

GradientPropertyMirror

Type

operator

Summary

The mirror of a gradient paint.

Syntax

the mirror of <mGradient>

Description

The mirror of mGradient as a boolean. If mirror is true then the ramp will be reversed on each repeat.

Parameters

NameTypeDescription

mGradient

An expression which evaluates to a gradient.

Examples

// Create new gradient paint
variable tGradient
put linear gradient with ramp [gradient stop at 0 with color [0,0,0], gradient stop at 1 with color [1,1,1]] into tGradient

// Toggle the mirroring of a gradient
variable tMirror
put the mirror of tGradient into tMirror
set the mirror of tGradient to not tMirror
Thank you for your feedback!

Was this page helpful?